
<%-- 
    Document   : cad_cliente
    Created on : 16/08/2013, 16:01:39
    Author     : Tainara
--%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Cadastro Cliente</title>
    </head>
    <body>
        <h1>Cadastro Cliente!</h1>
        <form id="form" action="ClienteServlet?cmd=salvar" method="POST">
            <fieldset>
                <legend>Cadastrar Cliente</legend>
                <div class="formataFormulario">

                    <label>Nome:</label>
                    <input name="nome" type="text" /> <br />
                    <label>CPF:</label>
                    <input name="cpf" type="text" size="35" /><br />
                    <label>Rg:</label>
                    <input name="rg" type="text" /> <br />
                    <label>Email:</label>
                    <input name="email" type="text" /> <br />
                    <label>Celular:</label>
                    <input name="celular" type="text" /> <br />
                    <label>Telefone</label>
                    <input name="telefone" type="text" /> <br />
                    <label>Login</label>
                    <input name="login" type="text" /> <br />
                    <label>Senha</label>
                    <input name="senha" type="password" /> <br />
                    <input type="hidden" name="idPerfil" value="1">

                    <input type="submit" value="salvar">
                    <c:if test="${!empty msg}">
                        <script type="text/javascript">
                            alert('${msg}');
                        </script>
                    </c:if>
                </div>
            </fieldset>
        </form>
    </body>
</html>
